SftTree/OCX 7.0

VirtualItem.CellForeColor Property

Softel vdm, Inc.

Defines the foreground color used to draw the item's cell that is not selected.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Cell.ForeColor instead

Syntax       

Put

VB.NET

object.CellForeColor(ByVal ColIndex As Short) = Clr  As UIntegerLanguage-specific information

VB

object.CellForeColor(ByVal ColIndex As Integer) = Clr  As OLE_COLOR

C#.NET

void object.set_CellForeColor(short ColIndex, uintLanguage-specific information Clr);

VC++

OLE_COLOR object->CellForeColor[short ColIndex] = Clr;
void object->PutCellForeColor(short ColIndex, OLE_COLOR Clr);

C

HRESULT object->put_CellForeColor(short ColIndex, OLE_COLOR Clr);

Delphi

object.CellForeColor[ColIndex : Smallint] := Clr  : Cardinal;

object

A VirtualItem object.

ColIndex

The zero-based column number.  The combination of ColIndex and the VirtualItem event's RowIndex parameter describes an individual cell.

Clr

Defines the foreground color used to draw the item's cell that is not selected.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Cell.ForeColor instead

The CellForeColor property defines the foreground color used to draw the item's cell that is not selected.

The VirtualItem.CellForeColor property is used while handling a VirtualItem event to define the foreground color for the cell described by ColIndex and the VirtualItem event's RowIndex parameter.

See Also  VirtualItem Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com